<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="java.io.Serializable"%>
<%@ page import="snow.core.security.Principal"%>
<%
	Object currentUserId = session.getAttribute(Principal.CURRENT_USER_ID);
	if (currentUserId == null) {
		request.getRequestDispatcher("login.jsp").forward(request, response);
		return;
	}
%>
<%@ include file="WEB-INF/jsp/include/public.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>${applicationTitle}</title>
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<link rel="stylesheet" type="text/css" href="${resourcesBasePath}/css/icons.css" />
		<link rel="stylesheet" type="text/css" href="${resourcesBasePath}/css/ext-all.css" />
		<link rel="stylesheet" type="text/css" href="${resourcesBasePath}/css/locale/ext-lang-${locale}.css" />
		<link rel="stylesheet" type="text/css" href="${resourcesBasePath}/css/ux/CheckHeader.css" />
		<link rel="stylesheet" type="text/css" href="${resourcesBasePath}/css/index.css" />
		<%@ include file="WEB-INF/jsp/include/resources.jsp"%>
		<script type="text/javascript" src="${resourcesBasePath}/javascript/framework/ext-all-debug.js"></script>
		<script type="text/javascript" src="${resourcesBasePath}/javascript/locale/ext/ext-lang-${locale}.js"></script>
		<script type="text/javascript" src="${resourcesBasePath}/javascript/locale/app/lang-${locale}.js"></script>
		<%@ include file="WEB-INF/jsp/include/privileges.jsp"%>
		<script type="text/javascript" src="${resourcesBasePath}/javascript/application/index.js"></script>
	</head>

	<body>
		<div id="loading-mask"></div>
		<div id="loading">
			<div>
				<img src="${resourcesBasePath}/images/load.gif" width="413" height="240" style="margin-right: 8px;"></img>
			</div>
		</div>
	</body>
</html>
